package mobile.android.Hotel;



public class Hotel {
	//int id;
    String name;
    int lv;    
    String prince;
    String add;
    String phone;
    String web;
    String logo;
	/*public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}*/

    public String getLv() {
        switch (lv)
        {case	1:  return "1 Star";
         case	2:	return "2 Star";
         case	3:	return "3 Star";
         case	4:	return "4 Star";
         case	5:	return "5 Star";
        }
        return null;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

   // public Hotel(String name) {
    //    this.name = name;
   // }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    public void setAdd(String add) {
        this.add = add;
    }
    public String getAdd() {
        return add;
    }
    public String getPrince() {
        return prince;
    }

    public void setPrince(String prince) {
        this.prince = prince;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getWeb() {
        return web;
    }

    public void setWeb(String web) {
        this.web = web;
    }
    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getLogo() {
        return logo;
    }
    public Hotel copy(){
		Hotel copy = new Hotel();
		copy.name = name;
		copy.add = add;
		copy.phone = phone;
		copy.web = web;
		copy.lv = lv;
		copy.prince = prince;
		copy.logo=logo;
		return copy;
	}
}
